package logo.lang;

public class LogoExecException extends LogoException {

    IRCmd badCmd;		// expression responsible for this exception

    public LogoExecException() {
	super();
    }

    public LogoExecException(String msg) {
	super(msg);
    }

    public LogoExecException(String msg, IRCmd cmd) {
	super(msg);
	badCmd = cmd;
    }

    public IRCmd getCmd() {
	return badCmd;
    }
}
